﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace BaoShouTang.DBModel
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("View_生产订单产品子件")]
    public partial class View_生产订单产品子件
    {
           public View_生产订单产品子件(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int 生产订单ID {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string 生产订单编号 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 产品编号 {get;set;}

        public int 订单行Id { get; set; }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
        public int? 订单行号 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? 生产令单的所有子件用料资料ID {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int 子件行号 { get; set; }
           public string 子件物料编号 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 子件物料名称 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string 子件物料规格 { get; set; }
           public string 工序行号 {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? 基本用量分子 { get;set;}

        public decimal? 基本用量分母 { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string WhCode {get;set;}
        public bool 要批次管理 { get;set;}

    }
}
